
#encoding=UTF-8

from Error import *
from DefensiveBuilding import *

class AirDefense(DefensiveBuilding):
	def __init__(self):
		DefensiveBuilding.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Air_Defense"
		self.number_available_dsec = """
0 	0 	0 	1 	1 	1 	2 	3 	4 	4 
"""
		self.level_info_desc = """
1 	80 	80 	800 	22,500 	5 hours 	134 	4
2 	110 	110 	860 	90,000 	1 day 	293 	4
3 	140 	140 	900 	270,000 	3 days 	509 	5
4 	160 	160 	940 	540,000 	5 days 	657 	6
5 	190 	190 	990 	1,080,000 	6 days 	720 	7
6 	230 	230 	1,040 	2,160,000 	8 days 	831 	8
7 	280 	280 	1,100 	4,320,000 	10 days 	929 	9
8 	320 	320 	1,160 	7,560,000 	12 days 	1,018 	10 
"""
		self._DoParse()

	def GetAttackSpeed(self):
		return 1

